package service.impl;

import dao.mapper.AlbumMapper;
import models.Album;
import service.AlbumService;

public class AlbumServiceImpl implements AlbumService {
    public AlbumMapper albumMapper;

    @Override
    public boolean createAlbum(String albumName, String description) {
        return false;
    }

    @Override
    public boolean deleteAlbum(Integer albumId) {
        albumMapper.DeleteAlbum(albumId);
        return true;
    }

    @Override
    public boolean deleteAlbumPhoto(String albumId) {
        return false;
    }

    @Override
    public boolean alterAlbum(String albumName, String newalbumName, String description) {
        return false;
    }

    @Override
    public Album[] getAllAlbums() {
        return new Album[0];
    }

    @Override
    public Album getAlbumByAlbumid(Integer albumid) {
        return albumMapper.GetAlbumByAlbumid(albumid);
    }

}
